package com.lovol.surfaceviewdemo

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.LinearLayout
import com.lovol.surfaceviewdemo.databinding.ActivityMainBinding
import com.lovol.surfaceviewdemo.databinding.ActivitySinFunBinding

class SinFunActivity : AppCompatActivity() {

    lateinit var binding: ActivitySinFunBinding
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        binding = ActivitySinFunBinding.inflate(LayoutInflater.from(this))
        setContentView(binding.root)

      /*  Handler(Looper.myLooper()!!).postDelayed(Runnable {
            val mLayoutParams:LinearLayout.LayoutParams = LinearLayout.LayoutParams(100,100)
            binding.mSurfaceViewSinFun.layoutParams =mLayoutParams

        }, 5 * 1000)*/


    }

}